//
//  AAA.h
//  MaxMovie
//
//  Created by 马泽川 on 15-1-16.
//  Copyright (c) 2015年 lanou3g.com 蓝欧科技. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface AAA : UIView{
    UIActivityIndicatorView* indicator;

    UILabel* label;

    BOOL visible,blocked;

    UIView* maskView;

    CGRect rectHud,rectSuper,rectOrigin;//外壳区域、父视图区域
       UIView* viewHud;//外壳
}
@property (assign) BOOL visible;

-(id)initWithFrame:(CGRect)frame superView:(UIView*)superView;

-(void)show:(BOOL)block;// block:是否阻塞父视图

-(void)hide;

-(void)setMessage:(NSString*)newMsg;

-(void)alignToCenter;
@end
